<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>layui</title>
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<link rel="stylesheet" href="__PUBLIC__/layui/css/layui.css" media="all">
		<link rel="stylesheet" href="__PUBLIC__/font-awesome/css/font-awesome.min.css" media="all" />
		<link rel="stylesheet" href="__CSS__/admin.css" media="all">
		<style type="text/css">
			/* tooltip */
			
			#tooltip {
				position: absolute;
				border: 1px solid #ccc;
				background: #333;
				padding: 2px;
				display: none;
				color: #fff;
			} 
		</style>
	</head>

	<body style="padding:10px;">
		<div class="tplay-body-div">  
			<table class="layui-table" lay-size="sm">
				<colgroup> 
					<col width="100">
					<col width="100"> 
					<col width="100">
					<col width="100"> 
				</colgroup>
				<thead>
					<tr> 
						<th>类型</th>
						<th>有效时间</th>
						<th>房间名称</th>
						<th>房间数量</th>
					</tr>
				</thead>
				<tbody>
					{volist name="list" id="vo"}
					<tr>
						<td>{$vo.type == 1?"已激活" : "未激活"}</td>
						<td>{$vo.start_time} - {$vo.end_time}</td> 
						<td>{$vo.room_name}</td>
						<td>{$vo.num}间</td> 
					</tr>
					{/volist}
				</tbody>
			</table>
			<div style="padding:0 20px;">{$list->render()}</div>

			{include file="public/foot"} 
		</div>
	</body>

</html>